package com.ssm.service;

import com.ssm.dao.IServiceInfoDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by wtjr on 2018/1/4.
 */
@Service("ServiceInfoService")
public class ServiceInfoServiceImpl implements ServiceInfoService {

    @Autowired
    IServiceInfoDao mapper;


    public List queryNearServiceInfos(String user_uuid) {
        List list = null;
        try {
            list = mapper.queryNearServiceInfosByUserId(user_uuid);
        } catch (Exception ex) {
            ex.printStackTrace();
        }
        //List list = mapper.queryNearServiceInfosByUserId(user_uuid);
        return list;
    }
}
